//
//  UILabel+ZHMakeLabel.m
//  ZYT_IOS
//
//  Created by 正合适 on 2018/1/29.
//  Copyright © 2018年 正合适. All rights reserved.
//

#import "UILabel+ZHMakeLabel.h"

@implementation UILabel (ZHMakeLabel)
+ (instancetype)ZHMakeLabelWithFrame:(CGRect)frame bgColor:(UIColor *)bgColor text:(NSString *)text font:(UIFont *)font textColor:(UIColor *)textColor {
    UILabel *label = [[UILabel alloc] initWithFrame:frame];
    label.backgroundColor = bgColor;
    label.text = text;
    label.font = font;
    label.textColor = textColor;
    return label;
}
@end
